﻿@{
    ViewBag.Title = ".NET Core2.2-后台登录";
}
<meta charset="UTF-8">
<meta lang="zh-CN">
<meta name="viewport" data-content-max content="width=device-width,initial-scale=1,user-scalable=no">

<link rel="stylesheet" href="~/Content/CustomCss/BackLogin.css">

<body id="bodytop">
    <div class=" bg"></div>
    <div class="container">
        <div class="container-content">
            <form class="form-panel" method="post">
                <div class="logibbox">
                    <div class="form-head formmargin">
                        <h1>后台管理中心</h1>
                    </div>
                    <div class="form-content formmargin">
                        <div class="field">
                            <input type="text" minlength="2" maxlength="11" class="input input-big" id="userLoginName" name="userLoginName" placeholder="登录账号" required />
                        </div>
                        <div class="field">
                            <input type="password" minlength="8" maxlength="16" class="input input-big" id="userPwd" name="userPwd" placeholder="登录密码" required />
                        </div>
                        <div class="field clearfix">
                            <input type="text" maxlength="4" class="inputs input-big" id="code" name="code" placeholder="填写右侧的验证码" required />
                            <img id="login_verifycode" class="login_verifycode" src="~/Login/VerifyCode" alt="点击切换验证码"
                                 title="点击切换验证码" />
                        </div>
                    </div>
                    <div class="form-tail formmargin">
                        <input type="button" class="button input-big" id="btnlogin" value="登录">
                    </div>

                    <div class="form-content formmargin" style="height:30px">
                        <span class="authorize-login-title-right">
                            <a href="/Login/Registered">注册新账号></a>
                        </span>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="copyright">
        Core权限架构系统学习
        <br>
        版权：世人皆萌
    </div>

    <script type="text/javascript" src="~/Content/Jquery/jQuery-2.2.0.min.js"></script>
    <script type="text/javascript" src="~/Content/Jquery/jquery.validate.min.js"></script>
    <script type="text/javascript">
         var contentPath = '@Url.Content("~")'.substr(0, '@Url.Content("~")'.length - 1);
         var isIE = !!window.ActiveXObject;
         var isIE6 = isIE && !window.XMLHttpRequest;
         if (isIE6) {
             window.location.href = contentPath + "/Error/ErrorMessage?message='浏览器不支持'";
        }

        //点击切换验证码
        $("#login_verifycode").click(function () {
            $("#code").val('');
            $("#login_verifycode").attr("src", contentPath + "/Login/VerifyCode?time=" + Math.random());
        });
    </script>
    <script type="text/javascript" src="~/Content/CustomJs/BackLogin.js"></script>
    <script type="text/javascript" src="~/Content/CustomJs/rem.js"></script>
</body>
